package top.broncho.lottery.di

import dagger.Module
import dagger.Provides
import top.broncho.lottery.data.IRepositoryManager
import top.broncho.lottery.data.RepositoryManager
import javax.inject.Singleton

@Module(includes = [ViewModelModule::class])
class AppModule {

    @Provides
    @Singleton
    fun provideRepositoryManager(repositoryManager: RepositoryManager): IRepositoryManager {
        return repositoryManager
    }

}